package com.ruubypay.biz.mvc.api.model.request;

import java.util.Date;

/**
 * 查询任务集合的查询VO对象
 * @author chenhaiyang
 */
public class QueryTask {
    /**
     * 用户名
     */
    private String userName;
    /**
     * 页码
     */
    private Integer pageNumber;
    /**
     * 每页要显示的记录数
     */
    private Integer pageSize;

    /**
     * 查询比beginDate时间晚的任务
     */
    private Date beginDate;
    /**
     * 查询比endDate时间早的任务
     */
    private Date endDate;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(Integer pageNumber) {
        this.pageNumber = pageNumber;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        return "QueryTask{" +
                "userName='" + userName + '\'' +
                ", pageNumber=" + pageNumber +
                ", pageSize=" + pageSize +
                ", beginDate=" + beginDate +
                ", endDate=" + endDate +
                '}';
    }
}
